package com.homelock.entity;

import java.util.Date;

public class BaseNameIdx {
    private Long id;

    private Date createDate;

    private Date updateDate;

    private Long version;

    private Byte nameType;

    private Long nameId;

    private String nameCache;

    private Boolean state;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public Long getVersion() {
        return version;
    }

    public void setVersion(Long version) {
        this.version = version;
    }

    public Byte getNameType() {
        return nameType;
    }

    public void setNameType(Byte nameType) {
        this.nameType = nameType;
    }

    public Long getNameId() {
        return nameId;
    }

    public void setNameId(Long nameId) {
        this.nameId = nameId;
    }

    public String getNameCache() {
        return nameCache;
    }

    public void setNameCache(String nameCache) {
        this.nameCache = nameCache == null ? null : nameCache.trim();
    }

    public Boolean getState() {
        return state;
    }

    public void setState(Boolean state) {
        this.state = state;
    }
}